class Phone:
    IMEI = None
    producer = "苹果手机"

    def call_5g(self):
        print("call 5g")
# 继承父类
class MyPhone(Phone):
    # 复写父类的成员属性producer
    producer = "苹果17ProMax"

    def call_5g(self):
        print("超强配置 call 5g")
        Phone.call_5g(self)

        print(f"父类的成员变量{super().producer}")

phone = MyPhone()
phone.call_5g()
print(phone.producer)
